package com.kindergarten.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author bruce
 * @since 2022-10-27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClaTea extends PagePojo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 班级id
     */
    private Integer classId;
    /**
     * 班级名
     */
    @TableField(exist = false)
    private String name;


    /**
     * 教师id
     */
    private String tecId;

    /**
     * 教师名字
     */
    @TableField(exist = false)
    private String userName;

    /**
     * 科目
     */
    private String subject;

    /**
     * 描述
     */
    @TableField(value = "`describe`")
    private String describe;

    private Integer del=0;


}
